package db

import (
	"gitee.com/baizhige/simple-auth-go/schema"
	"net/http"
)

var Apis = []*schema.ApiInfo{
	//模拟需要权限的
	{"user_add", "/user/add", http.MethodPost, true},
	{"user_query", "/user/query", http.MethodGet, true},
	{"user_logout", "/user/logout", http.MethodGet, true},
	//模拟不需要权限的
	{"timestamp", "/timestamp", http.MethodGet, false},
	{"login", "/user/login", http.MethodPost, false},
}
